/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif;

import com.keybridgeglobal.wsif.enumerated.EnumWsifGeocode;
import javax.xml.bind.annotation.*;

/**
 * <p>Java class for location complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <pre>
 * &lt;complexType name="location">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{}address" minOccurs="0"/>
 *         &lt;element ref="{}coordinate" minOccurs="0"/>
 *         &lt;element name="geometry" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="geocode" use="required" type="{}enumWsifGeocode" />
 *       &lt;attribute name="locationType" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="timeZone" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "location", propOrder = {
  "address",
  "coordinate",
  "geometry"
})
@XmlRootElement
public class Location {

  protected Address address;
  protected Coordinate coordinate;
  protected String geometry;
  @XmlAttribute(name = "name", required = true)
  protected String name;
  @XmlAttribute(name = "geocode", required = true)
  protected EnumWsifGeocode geocode;
  @XmlAttribute(name = "locationType")
  protected String locationType;
  @XmlAttribute(name = "timeZone")
  protected String timeZone;

  /**
   * Gets the value of the address property.
   * <p/>
   * @return possible object is {@link Address }
   *
   */
  public Address getAddress() {
    return address;
  }

  /**
   * Sets the value of the address property.
   * <p/>
   * @param value allowed object is {@link Address }
   *
   */
  public void setAddress(Address value) {
    this.address = value;
  }

  /**
   * Gets the value of the coordinate property.
   * <p/>
   * @return possible object is {@link Coordinate }
   *
   */
  public Coordinate getCoordinate() {
    return coordinate;
  }

  /**
   * Sets the value of the coordinate property.
   * <p/>
   * @param value allowed object is {@link Coordinate }
   *
   */
  public void setCoordinate(Coordinate value) {
    this.coordinate = value;
  }

  /**
   * Gets the value of the geometry property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getGeometry() {
    return geometry;
  }

  /**
   * Sets the value of the geometry property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setGeometry(String value) {
    this.geometry = value;
  }

  /**
   * Gets the value of the name property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getName() {
    return name;
  }

  /**
   * Sets the value of the name property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setName(String value) {
    this.name = value;
  }

  /**
   * Gets the value of the geocode property.
   * <p/>
   * @return possible object is {@link EnumWsifGeocode }
   *
   */
  public EnumWsifGeocode getGeocode() {
    return geocode;
  }

  /**
   * Sets the value of the geocode property.
   * <p/>
   * @param value allowed object is {@link EnumWsifGeocode }
   *
   */
  public void setGeocode(EnumWsifGeocode value) {
    this.geocode = value;
  }

  /**
   * Gets the value of the locationType property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getLocationType() {
    return locationType;
  }

  /**
   * Sets the value of the locationType property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setLocationType(String value) {
    this.locationType = value;
  }

  /**
   * Gets the value of the timeZone property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getTimeZone() {
    return timeZone;
  }

  /**
   * Sets the value of the timeZone property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setTimeZone(String value) {
    this.timeZone = value;
  }
}
